package com.foreknow.service;

import com.foreknow.entity.Settlecategory;
import com.foreknow.entity.User;

import java.util.List;


public interface SettlecategoryService {
    /**
     * 查询所有结算类别信息
     * @return
     */
    public List<Settlecategory> getQueryAllSettlecategory();

    /**
     * 添加结算类别
     * @param  settlecategory
     * @return
     */
    public int addSettlecategory(Settlecategory settlecategory);

    /**
     * 删除结算类别
     * @param id
     * @return
     */
    public int deleteSettlecategory(int id);

    /**
     * 修改结算类别
     * @param settlecategory
     * @return
     */
    public int updateSettlecategory(Settlecategory settlecategory);

    /**
     * 修改之前查询结算类别
     * @param id
     * @return
     */
    Settlecategory selectSettlecategory(Integer id);
}